<%@page import="com.web.vo.StaticFiled"%>
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'uploadFile.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<center>
			<br />
			<p />
			<br />
			<p />
		 
			<html:form action="/uploadFile.do" method="post"
				enctype="multipart/form-data">
				<html:file property="fileName"></html:file>
				<html:submit value="上传" />
				<html:hidden property="resumeid" value='<%=request.getParameter(StaticFiled.RESUMEID) %>' />
				<html:hidden property="namelistid" value='<%=request.getParameter("namelistid")%>' />
				
				<font color="red"> <b>
					<%= request.getAttribute("errors") == null ? "" : request.getAttribute("errors")%></b>
				</font>
			</html:form>
		</center>
	</body>
</html>
